
package com.dyzx.hbb.security.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

import java.util.Map;

/**
 * 系统用户
 */
@Data

@Schema(description = "系统用户")
public class SysUserInfo  {

    /**
     * 编号
     */
/*    @TableId(type = IdType.AUTO)
    private Long id;*/

    /**
     * 账户
     */
  private String account;
    /**
     * 电话
     */
    private String phone;

    /**
     * 类型
     */
    @Schema(description = "用户类型")
    private Integer type;

    /**
     * 操作岗
     */
    @Schema(description = "操作岗位")
    private Integer operator;

    /**
     * 姓名
     */
    @Schema(description = "用户姓名")
    private String name;

    /**
     * 头像地址
     */
    @Schema(description = "头像URL")
    @JsonProperty("avatar_url")
    private String avatarUrl;

    /**
     * 部门编号
     */
    @Schema(description = "部门ID")
    private Long deptId;

    @JsonProperty("dept_name")
    private String deptName;
    @JsonProperty("organ_name")
    private String organName;

    /**
     * 报关行
     */
    @Schema(description = "报关行信息")
    private String broker;

    /**
     * 企业编号
     */
   /* @Schema(description = "企业ID")
    private Long organId;
*/
    /**
     * 用户令牌
     */
    @Schema(description = "用户认证令牌")
    private String token;

    @Schema(description = "订单")
    private Map<String, Object> order;

}